package com.huashi.dealer.modular.business.goods.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Schema(description = "赠品商品VO")
public class GiftGoodsVo {

    @Schema(description = "商品ID")
    private Long goodsId;

    @Schema(description = "商品名称")
    private String goodsName;

    @Schema(description = "商品分类ID")
    private Long categoryId;

    @Schema(description = "商品分类名称")
    private String categoryName;

    @Schema(description = "商品图片列表")
    private List<String> imageUrls;

    @Schema(description = "条形码")
    private String barCode;

    @Schema(description = "商品卖点")
    private String sellingPoint;

    @Schema(description = "赠品数量")
    private Integer giftStockNum;

    @Schema(description = "商品销量")
    private Integer salesActual;

    @Schema(description = "商品排序")
    private Integer goodsSort;

    @Schema(description = "商品状态：10上架，20下架")
    private Integer goodsStatus;

    @Schema(description = "商品状态文本")
    private String goodsStatusText;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
